package net.openl10n.mdf;

import net.openl10n.document.api.IFragment;

public class TextFragment implements IFragment{

	private final String content;
	
	public TextFragment(String content) {
		if(content == null)
			throw new IllegalArgumentException("content cannot be null");
		this.content = content;
	}
	
	public final String getContent() {
		return content;
	}
}
